package cn.wolfcode.trip.base.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 点赞记录表
 */
@Setter
@Getter
public class Great {
    public static final int READ = 1; //表示已经阅读
    public static final int NOREAD = 0; //表示未读

    private Long id; //id

    private User user; //用户,点赞者

    private Travel travel;//被点赞的文章

    private Date greatTime; //点赞的时间

    private int isread = 0; //默认未读


}